package com.hockeo.tinygds.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Specifies the value that is used as discriminator to differentiate between the
 * different classes of the same inheritance strategy.
 *
 * @version $Id$
 * @author jjanke
 */
@Retention( RetentionPolicy.RUNTIME )
@Target( { ElementType.TYPE } )
public @interface TDiscriminatorValue
{
  /**
   * Indicates the discriminator value. If unspecified, the class' simple name is
   * used.
   */
  String value() default "";
}
